/* 404页面样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #0f0;
    font-family: Arial, sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    padding: 40px 20px;
}

.error-code {
    font-size: 150px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 20px #0f0;
    animation: glitch 3s infinite;
}

.error-message {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.error-message br {
    margin-bottom: 15px;
}

.back-home-btn {
    background-color: #0f0;
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-home-btn:hover {
    background-color: #0c0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

/* 故障动画效果 */
@keyframes glitch {
    0%, 90%, 100% {
        text-shadow: 0 0 10px #0f0;
        transform: none;
    }
    91% {
        transform: translate(-2px, 2px);
    }
    92% {
        transform: translate(2px, -2px);
    }
    93% {
        transform: translate(-2px, -2px);
    }
    94% {
        transform: translate(2px, 2px);
    }
    95% {
        text-shadow: 0 0 20px #0f0, 0 0 30px #0f0;
    }
    96% {
        text-shadow: 0 0 5px #0f0;
    }
    97% {
        text-shadow: 0 0 15px #0f0;
    }
    98% {
        text-shadow: 0 0 25px #0f0;
    }
    99% {
        text-shadow: 0 0 10px #0f0;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .error-code {
        font-size: 100px;
    }
    
    .error-message {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 80px;
    }
    
    .error-message {
        font-size: 14px;
    }
    
    .back-home-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}